package com.cti.ftpservice.ws.impl;

import java.util.ArrayList;
import java.util.List;

import javax.annotation.Resource;
import javax.jws.WebService;
import javax.xml.ws.BindingType;

import org.springframework.stereotype.Service;

import com.cti.ftpservice.service.OnixDataService;
import com.cti.ftpservice.vo.OnixBookBaseInfoVo;
import com.cti.ftpservice.vo.OnixBookInfoQueryVo;
import com.cti.ftpservice.vo.OnixDataWordBookVo;
import com.cti.ftpservice.vo.PageViewVO;
import com.cti.ftpservice.ws.FtpOnixBookInfoWs;


@Service("ftpOnixBookInfoWs")
@WebService(serviceName="FtpOnixBookInfoWsImpl",endpointInterface="com.cti.ftpservice.ws.FtpOnixBookInfoWs",targetNamespace="http://impl.ws.ftpservice.cti.com/")
public class FtpOnixBookInfoWsImpl implements FtpOnixBookInfoWs {

	@Resource
	private OnixDataService onixDataService;
	
	@Override
	public PageViewVO<OnixBookBaseInfoVo> getOnixBookBaseInfoVosByQuery(OnixBookInfoQueryVo queryVo, int pageIndex,
			int pageSize) {
		return onixDataService.getOnixBookBaseInfoVosByQuery(queryVo, pageIndex, pageSize);
	}
	
	public List<OnixDataWordBookVo> getOnixDataWordBookVoByQuery(String listNum,String onixNodeNum) {
		//return onixDataService.getOnixDataWordBookVoByQuery(listNum,onixNodeNum);
		return new ArrayList<OnixDataWordBookVo>();
	}
	
	public void addOrUpdateOnixDataWordBookVo(OnixDataWordBookVo wbookVo) {
		//onixDataService.addOrUpdateOnixDataWordBookVo(wbookVo);
	}
	
	@Override
	public void deleteOnixDataWordBookVo(String listNum) {
		//onixDataService.deleteOnixDataWordBookVo(listNum);
	}


}
